<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Dashboard Template for Bootstrap</title>
    <!-- Bootstrap core CSS -->
    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link th:href="@{/css/dashboard.css}" rel="stylesheet">
    <style type="text/css">
        #container {margin: auto;
            padding: 0px 0px;
            width: 780px;
            background: #FFF;
            border-left: 0px solid #9CC;
            border-right: 0px solid #9CC;
        }
        #content {margin-left: 0px;
            width: 530px;
            float: left;
            text-align: left;
        }

        #sidebar {width: 240px;
            margin: 0px 0px;
            color: #5B8FBA;
            text-align: left;
            float: right;
        }

        #kongge{
            margin-top:10px;
        }
        /* Chart.js */

        @-webkit-keyframes chartjs-render-animation {
            from {
                opacity: 0.99
            }
            to {
                opacity: 1
            }
        }

        @keyframes chartjs-render-animation {
            from {
                opacity: 0.99
            }
            to {
                opacity: 1
            }
        }

        .chartjs-render-monitor {
            -webkit-animation: chartjs-render-animation 0.001s;
            animation: chartjs-render-animation 0.001s;
        }
    </style>
</head>
<body>
<br/><br/>
<div>
    <!--/*@thymesVar id="voteUserName" type=""*/-->
    <div id="container">
        <div id="content">
            <button class="btn btn-lg btn-success" th:text="当前用户+${voteUserName}"></button>
        </div>
        <!--右-->
        <div id="sidebar">
            <!--/*@thymesVar id="AgreeAuthor" type=""*/-->
            <button class="btn btn-lg btn-success" th:text="${AgreeAuthor}"></button>
        </div>
    
</div>
<br/><br/><br/><br/><br/>
<center>
    <!--/*@thymesVar id="voteUserName" type=""*/-->
    <a class="btn btn-lg btn-info"
       th:href="@{/user/ApplyAuthor/{username}(username=${voteUserName})}">申请成为出题人</a>
    <br/><br/><br/><br/>
    <form action="/applySendEmail" class="form-signin"  method="post" style="height: 50px;width: 300px;">
        <input name="email" type="email"  class="form-control" th:placeholder="请输入您的邮箱" required="" autofocus="" >
        <button class="btn btn-lg btn-primary btn-block" type="submit" th:text="申请邮箱祝福"></button>
    </form>
</center>
</div>
</body>
</html>